﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GUI
{
    public partial class UcThongTinSP : UserControl
    {
        public UcThongTinSP()
        {
            InitializeComponent();
        }

        private void UcThongTinSP_Load(object sender, EventArgs e)
        {

        }

        private void buttonX1_Click(object sender, EventArgs e)
        {
            for (int i = 0; i < 4; i++)
            {
                string nameptc = "ptc" + i.ToString();
                System.Windows.Forms.PictureBox ba = new PictureBox();
                ba.Name = "hgj";
                int x = 42, y = 6;
                ba.Location = new System.Drawing.Point(x, y);
                ba.Size = new System.Drawing.Size(241, 216);
                ba.TabIndex = 0;
                ba.TabStop = false;
                ba.ImageLocation = @"E:\IT\C#\Bai tap\HenGio\HenGio\Resources\idyllic1600.jpg";
                x += 250;
                y += 220;
            }
        }
    }
}
